package com.cjh.utils;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 生产者配置类-workqueue
 */
@Configuration
public class WorkConfig {
    @Bean
    public Queue work() {
        return new Queue("work");
    }
}